<?php
declare (strict_types = 1);

namespace app\api\model\v1;

use think\Model;

/**
 * @mixin \think\Model
 */
class ExamSecondLevel extends AppModel
{
    //

    public function examStairType(){
        return $this->belongsTo(ExamStairType::class,'exam_stair_type_id');
    }

    public function examDetail(){
        return $this->hasMany(ExamDetail::class,'exam_second_level_id');
    }
}
